<template>
	<view class="">
		<button @click="clickToast">点击弹出loading</button>
		<button @click="clickHidden">点击隐藏</button>
	</view>
</template>

<script setup>

function clickToast(){
	uni.showLoading({
		title:"加载中",
		success: () => {
		   console.log("12312312")	
		}
	})
}
function clickHidden(){
	uni.hideLoading()
}
</script>

<style lang="scss" scoped>
</style>
